package com.qf.dao;

import com.qf.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.dao
 * @description: ${TODO}
 * @date 2022/6/22 14:06
 */
public interface UserDao {
    User selectByUserName(@Param("username") String username);

    void insert(User user);

    User select(@Param("username") String username, @Param("password") String password);

    List<User> selectAll();

    User findByUsername(String username);
}
